<?php
/*
 * 添加用户和修改用户信息
 */
?>
<!--设置图片上传后预览的div样式-->
<style type="text/css">
    #preview, .logos
    {
        width:200px;
        height:200px;
    }
    #preview
    {
        border:1px solid #000;
    }
</style>
<!--页面主要内容-->
<main class="lyear-layout-content">
    <div class="container-fluid">
        <div class="row">
            <div class="col-md-1"></div>
            <div class="col-md-10">
                <div class="card">
                    <div class="card-header"><h4>生成短域名</h4></div>
                    <div class="card-body">

                        <form class="form-horizontal" id="from_user">
                            <div class="form-group">
                                <label class="col-xs-12" for="example-text-input">用户id编号</label>
                                <div class="col-xs-12">
                                    <input class="form-control" type="text"  name="id" placeholder="用户id编号"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-xs-12" for="example-text-input">缩短原地址</label>
                                <div class="col-xs-12">
                                    <input class="form-control" type="text"  name="address" placeholder="缩短原地址" />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-xs-12" for="example-text-input">缩短地址</label>
                                <div class="col-xs-12">
                                    <input class="form-control" type="text"  name="yaddress" placeholder="缩短地址" />
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-xs-12">
                                    <button type="button" class="btn btn-info" onclick="adduser.short()">提 交</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
            <div class="col-md-1"></div>
        </div>
    </div>
    </div>
</main>
<!--End 页面主要内容-->